package com.yixun.qfbao.model;

import java.io.Serializable;
import java.util.Date;

/**
 * User: zilong.liu
 * Date: 2020/7/15
 * Desc:
 *   过期提醒配置
 */
public class DueRemainderConfig implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = -9046331051690846264L;

	/**
     * 过期配置ID
     */
    private long dueRemainderId;

    /**
     * 公司UUID
     */
    private long companyId;

    /**
     * 提醒类型
     *  0添加报备保护期到期提醒 1到访保护期到期提醒 2超时未到访转无效提醒 3超时未交易转无效提醒
     */
    private int remainderType;

    /**
     * 提前提醒时间
     */
    private int advanceTime;

    /**
     * 提醒时间的单位
     */
    private int advanceTimeUnit;

    /**
     * 	默认为-1，开关
     */
    private int remainderSwitch = -1;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private long createUserId;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 更新人
     */
    private long updateUserId;

    public long getDueRemainderId() {
        return dueRemainderId;
    }

    public void setDueRemainderId(long dueRemainderId) {
        this.dueRemainderId = dueRemainderId;
    }

    public long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(long companyId) {
		this.companyId = companyId;
	}

	public int getRemainderType() {
        return remainderType;
    }

    public void setRemainderType(int remainderType) {
        this.remainderType = remainderType;
    }

    public int getAdvanceTime() {
        return advanceTime;
    }

    public void setAdvanceTime(int advanceTime) {
        this.advanceTime = advanceTime;
    }

    public int getAdvanceTimeUnit() {
        return advanceTimeUnit;
    }

    public void setAdvanceTimeUnit(int advanceTimeUnit) {
        this.advanceTimeUnit = advanceTimeUnit;
    }

    public int getRemainderSwitch() {
        return remainderSwitch;
    }

    public void setRemainderSwitch(int remainderSwitch) {
        this.remainderSwitch = remainderSwitch;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(long createUserId) {
        this.createUserId = createUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(long updateUserId) {
        this.updateUserId = updateUserId;
    }
}
